﻿@model MvcApplication9.Models.Submit

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Submit</legend>

    @Html.DisplayText("Выбранный круиз ")
    @Html.ActionLink((string)ViewBag.Ship.Course.Title, "CruiseInfo", "Home", new { ship_id = (int)ViewBag.Ship.Id }, null)
    
    
    <div class="display-label">TravelDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TravelDate)
    </div>

    <div class="display-label">CountOfTourists</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CountOfTourists)
    </div>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Sity</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sity)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">Phone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>

    <div class="display-label">OtherInfo</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OtherInfo)
    </div>

    <div class="display-label">SubmitDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SubmitDate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
